package com.beemindz.miyotee.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;

import com.beemindz.miyotee.R;

public class HomeScreenActivity extends Activity {
  private int DELAY_MILLIS = 2000;
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    Log.d("HomeScreenActivity", "HomeScreenActivity");
    setContentView(R.layout.activity_home_screen);
    new Handler().postDelayed(new Runnable() {

      @Override
      public void run() {
        final Intent intent = new Intent(HomeScreenActivity.this, TaskListActivity.class);
        startActivity(intent);
        finish();
      }
    }, DELAY_MILLIS);
  }
}
